package router

import (
	"fileNest/controller"

	"github.com/gin-gonic/gin"
)

func RegisterUpload(route *gin.Engine) {
	r := route.Group("/api/file")
	{
		r.POST("upload", controller.Upload)
		r.POST("chunksUpload", controller.ChunksUpload)
		r.POST("uploadMerge", controller.UploadMerge)
	}
}
